Skip to content

Use WaitGroup.Go for remaining manual Add/Done patterns#4956

Merged
pietern merged 1 commit intomainfrom
go1.25-waitgroup-go
Apr 14, 2026
Merged

Use WaitGroup.Go for remaining manual Add/Done patterns#4956
pietern merged 1 commit intomainfrom
go1.25-waitgroup-go

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented Apr 13, 2026

Summary

  • Replace remaining wg.Add/wg.Done/go patterns with wg.Go(...) in libs/dagrun, libs/filer, and libs/sync
  • These weren't caught by the use-waitgroup-go revive rule because they call Done() inside separate functions rather than inline

Test plan

  • go test ./libs/dagrun/ ./libs/filer/ ./libs/sync/ passes

This pull request was AI-assisted by Isaac.

These call sites weren't caught by the `use-waitgroup-go` revive rule
because they call `Done()` inside separate functions rather than inline.

Co-authored-by: Isaac
@pietern pietern force-pushed the go1.25-waitgroup-go branch from ce7a67e to 5a066f0 Compare April 13, 2026 21:34
@pietern pietern requested a review from denik April 14, 2026 09:47
@pietern pietern enabled auto-merge April 14, 2026 09:47
@pietern pietern added this pull request to the merge queue Apr 14, 2026
Merged via the queue into main with commit ef63c88 Apr 14, 2026
24 checks passed
@pietern pietern deleted the go1.25-waitgroup-go branch April 14, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants